<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>9-小米模块案例</title>
    <style>
        *{
            margin:0;
            padding:0;
        }
        /* 子高父宽 */
        .box{
            width: 1226px;
            /* border: 1px solid red; */
            margin:50px auto;
            overflow: hidden;
        }
        .box .left{
            width: 234px;
            height: 614px;
            background: #800080;
            float: left;
        }
        .box .right{
            width: 978px;
            height: 614px;
            /* border:1px solid green; */
            float: right;
        }
        .box .right div{
            width: 234px;
            height: 300px;
            background: #87ceeb;
            float: left;
            margin:0 14px 14px 0;
        }
        .box .right div:nth-child(4n){
            margin-right: 0px;
        }
        .box .right div:nth-child(n+4){
            margin-bottom: 0px;
        }
    </style>
</head>
<body>
    <div class="box">
        <div class="left"></div>
        <div class="right">
            <div></div>
            <div></div>
            <div></div>
            <div></div>
            <div></div>
            <div></div>
            <div></div>
            <div></div>
        </div>
    </div>
</body>
</html>